package com.pmcc.cj.repository;

import com.pmcc.cj.entity.CjTrain;
import com.pmcc.cj.entity.FjCity;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

/**
 * Created by tomas on 2020/9/12.
 */
public interface FjCityRepository extends JpaRepository<FjCity,String> {
    List<FjCity> findAll(Specification<FjCity> spec);
}
